package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 渠道商车辆买卖详情
 * </p>
 *
 * @author caoYong
 * @since 2019-08-30
 */
@Data
@TableName("pms_partner_vehicle_trade_detail")
@ApiModel(value="PartnerVehicleTradeDetail对象", description="渠道商车辆买卖详情")
public class PartnerVehicleTradeDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "详情主键ID")
    @TableId(value = "TRADE_DETAIL_ID", type = IdType.UUID)
    private String tradeDetailId;

    @ApiModelProperty(value = "主表主键ID")
    @TableField("TRADE_ID")
    private String tradeId;

    @ApiModelProperty(value = "车辆VIN码")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "描述")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

}
